<?php /*a:1:{s:50:"D:\php\phpEnv\www\www.tp.com\view\login\index.html";i:1715912311;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TP6.0Demo -- 登录</title>
    <!-- 引入 Bootstrap CSS -->
    <link rel="stylesheet" type="text/css" href="http://localhost:8000/static/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="http://localhost:8000/static/css/style.css" />

    <!-- 移动设备优先 -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>

<!--登录UI-->
<div class="d-flex justify-content-center align-items-center vw-100 vh-100">
    <form action="<?php echo url('/login_check'); ?>" method="post" class="p-5 m-5 shadow">
        <fieldset>
            <div class="form-group row">
                <label for="name" class="col-4 col-form-label text-right">管理员</label>
                <div class="col-6">
                    <input type="text" id="name" name="name" class="form-control" placeholder="请输入管理员">
                </div>
                <span class="col-2 text-danger col-form-label">*</span>
            </div>
            <div class="form-group row">
                <label for="password" class="col-4 col-form-label text-right">密码</label>
                <div class="col-6">
                    <input type="password" id="password" name="password" class="form-control" placeholder="请输入管理员密码">
                </div>
                <span class="col-2 text-danger col-form-label">*</span>
            </div>
            <div class="form-group row">
                <label class="col-4 col-form-label" style="position: relative;top:-10px;"><?php echo captcha_img(); ?></label>
                <div class="col-6">
                    <input type="text" id="code" name="code" class="form-control" placeholder="请输入验证码">
                </div>
                <span class="col-2 text-danger col-form-label">*</span>
            </div>
            <div class="form-group row">
                <label class="col-2 col-form-label"></label>
                <div class="col-8">
                    <input type="hidden" value="<?php echo token(); ?>" name="__token__">
                    <button class="btn btn-success w-100">登录</button>
                </div>
            </div>
        </fieldset>
    </form>
</div>


<!-- 引入 JS 文件 -->
<script type="text/javascript" src="http://localhost:8000/static/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="http://localhost:8000/static/js/bootstrap.bundle.min.js"></script>
</body>
</html>